<?php 
$site_title = $this->settings_model->siteInfo('web_title');
?>
<div class="navbar navbar-default navbar-fixed-top">
	<div class="container">
		<div class="navbar-header">
			<button type="button" class="navbar-toggle" data-toggle="collapse"
				data-target=".navbar-collapse">
				<span class="icon-bar"></span> <span class="icon-bar"></span> <span
					class="icon-bar"></span>
			</button>
			<a class="navbar-brand" href="<?= base_url();?>"> <img
				id="site-logo"
				width="164px" height="35px" src="<?= base_url();?>assets/images/<?= $this->settings_model->get_setting('site_logo');?>"
				alt="<?= $site_title;?>" title="<?= $site_title; ?>">
			</a>
		</div>
		<div class="collapse navbar-collapse">
			<ul class="nav navbar-nav navbar-right">
			
			<?php if(!$this->session->userdata('mem_id')){?>
				<li class=""><a href="<?= base_url() ; ?>member/login"><span
						class="glyphicon glyphicon-user"></span> <strong><?= lang('member.login');?></strong> </a>
				</li>
				
				<li class=""><a href="<?= base_url();?>member/register"><span
						class="glyphicon glyphicon-ok-sign"></span> <strong><?= lang('member.register');?></strong>
				</a></li>
				
				<?php }else{?>
						
				
				<li class="dropdown"><a class="dropdown-toggle"
					data-toggle="dropdown" href="#"> <span
						class="glyphicon glyphicon-user"></span> <strong> <?= $this->session->userdata('mem_name');?></strong> <span
						class="caret"></span>
				</a>
					<ul class="dropdown-menu ">
						<li role="presentation" class="dropdown-header"><?= lang('member.menu');?></li>
						<li><a href="<?= base_url();?>member"><span class="glyphicon glyphicon-home"></span>&nbsp;<?= lang('member.account');?></a></li>
						<li><a href="<?= base_url();?>member/message"><span class="glyphicon glyphicon-comment"></span>&nbsp;<?= lang('member.message');?></a></li>
						<li><a href="<?= base_url();?>member/logout"><span class="glyphicon glyphicon-lock"></span>&nbsp;<?= lang('member.logout');?></a></li>
					</ul>
				</li>
				<?php }?>

				
				<li class="">
				
				<a href="#" data-toggle="modal" data-target="#myContactModal"><span
						class="glyphicon glyphicon-question-sign"></span> <strong><?= lang('member.contact');?></strong>
				</a></li>
			</ul>
		
		
		
		</div>
		<!--/.nav-collapse -->
		
		
		
		
		
		
	
 
		
		
		
	</div>
	
	
</div>






